package org.example.demo15_command.demo1;

public class Light {
    public void open(){
        System.out.println("打开电灯");
    }

    public void close(){
        System.out.println("关闭电灯");
    }
}
